package top.callback.inf.beautyleaf.server.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户业务层数据模型
 *
 * @author Pengyu Gan
 * CreateDate 2021/3/30
 */
@Data
@Schema(description = "用户信息模型")
public class UserModel implements Serializable {

    /**
     * 用户 ID
     */
    @Schema(description = "用户 ID")
    private long id;

    /**
     * 登录账号
     */
    @Schema(description = "用户 ID")
    private String account;

    /**
     * 登录密码
     */
    @Schema(description = "登录密码")
    private String password;

    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String name;

}
